---
layout: "default"
title: "getVaList"
description: "Swift documentation for 'getVaList': Returns a CVaListPointer built from args that&#39;s backed by
autoreleased storage."
keywords: "getVaList,func,swift,documentation"
root: "/v2.1"
---

<div class="declaration" id="func-getvalist_-cvarargtype">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-getvalist_-cvarargtype">func getVaList(<wbr>_: [CVarArgType])</a>
        
<div class="comment collapse" id="comment-func-getvalist_-cvarargtype"><div class="p">
    <p>Returns a <code>CVaListPointer</code> built from <code>args</code> that&#39;s backed by
autoreleased storage.</p>

<p><strong>Warning:</strong> This function is best avoided in favor of
  <code>withVaList</code>, but occasionally (i.e. in a <code>class</code> initializer) you
  may find that the language rules don&#39;t allow you to use
<code>withVaList</code> as intended.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func getVaList(args: [CVarArgType]) -&gt; CVaListPointer</code>
    
    
</div></div>
</div>
